<?php
defined( 'BASEPATH' ) or exit( 'No direct script access allowed' );
class Seo_model extends MY_Model
{
    function get($uri)
    {
        $this->_db->select( $this->_table, '`seo_title`,`seo_keywords`,`seo_description`,`en_seo_title`,`en_seo_keywords`,`en_seo_description`' );
        $this->_db->where( '`uri`=? and `enable`=1 and `deleted`=0', $uri );
        $this->_db->limit( 1 );
        return $this->_db->fetch_row();
    }
}